Skip to content

Prevent disabled device menus from opening - #2624

Merged
shomix merged 2 commits into
mainfrom
shomix-p-fix-transparent-dropdown
Aug 5, 2026
Merged

Prevent disabled device menus from opening#2624
shomix merged 2 commits into
mainfrom
shomix-p-fix-transparent-dropdown

Conversation

@shomix

@shomix shomix commented Aug 4, 2026

Copy link
Copy Markdown
Contributor
  • Disabled camera and microphone controls can no longer open device selection menus.
  • This prevents the transparent dropdown from appearing when capture is turned off.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Here's a visual recap of what changed:

Visual recap

Open the full interactive recap

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

@netlify

This comment has been minimized.

builder-io-integration[bot]

This comment was marked as outdated.

@netlify

This comment has been minimized.

@builder-io-integration builder-io-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Builder reviewed your changes — looks good ✅

Review Details

Incremental Code Review Summary

The updated PR refactors MediaDeviceRow so device selection and system-audio settings use separate controls. When camera or microphone capture is off, the device label button is disabled and the device list is omitted; when the microphone is off, a dedicated menu trigger remains available for the independent “Record System audio” switch. The new wrapper positioning also keeps the popover anchored to the complete row.

The previous review’s system-audio accessibility concern is addressed by this separation. Two parallel relaxed reviews found no new confirmed bugs across disabled-state behavior, menu state transitions, device selection/refresh, ARIA attributes, or CSS positioning. This remains a low-risk frontend change.

✅ Good fix: the microphone-off path now exposes only the applicable system-audio setting rather than reopening device selection.
✅ Existing close-on-toggle-off behavior is preserved.

🧪 Browser testing: Attempted full verification after the update, but all 10 grounded test cases were blocked because browser automation tools were unavailable to executor agents. The dev server was healthy; no visual evidence was collected.

@shomix
shomix merged commit 2dc1a07 into main Aug 5, 2026
95 checks passed
@shomix
shomix deleted the shomix-p-fix-transparent-dropdown branch August 5, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants